﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmartSpace.Cwt;

namespace WebApp
{
	public partial class About : System.Web.UI.Page
	{
		protected void Page_Load(object sender, EventArgs e)
		{
            if (!IsPostBack)
            {
                ICwtService service = Global.Get<ICwtService>();
                List<Summary> source = service.FindSummaries();
                this._ctlRptTitle.DataSource = source;
                this._ctlRptTitle.DataBind();
                this._ctlRptContent.DataSource = source;
                this._ctlRptContent.DataBind();
            }
		}
	}
}